package org.jeecg.modules.demo.allvipcard.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 全部贵宾卡
 * @Author: jeecg-boot
 * @Date: 2022-01-11
 * @Version: V1.0
 */
@Data
@TableName("all_vipcard")

@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "all_vipcard对象", description = "全部贵宾卡")
public class AllVipcard implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    private String createBy;
    /**
     * 创建日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
    /**
     * 更新人
     */
    @ApiModelProperty(value = "更新人")
    private String updateBy;
    /**
     * 更新日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
    /**
     * 所属部门
     */
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
    /**
     * 卡编号
     */
    @Excel(name = "卡编号", width = 15)
    @ApiModelProperty(value = "卡编号")
    private Integer cardId;
    /**
     * 卡名
     */
    @Excel(name = "卡名", width = 15)
    @ApiModelProperty(value = "卡名")
    private String cardName;
    /**
     * 卡类型
     */
    @Excel(name = "卡类型", width = 15)
    @ApiModelProperty(value = "卡类型")
    private String cardType;
    /**
     * 免费/付费
     */
    @Excel(name = "免费/付费", width = 15)
    @ApiModelProperty(value = "免费/付费")
    private String isFree;
    /**
     * 视频
     */
    @Excel(name = "视频", width = 15)
    @ApiModelProperty(value = "视频")
    private String vedioId;
    @Excel(name = "样式", width = 15)
    @ApiModelProperty(value = "样式")
    private String styleId;
    /**
     * 卡售价
     */
    @Excel(name = "卡售价", width = 15)
    @ApiModelProperty(value = "卡售价")
    private Double sellingPrice;
    /**
     * 卡内券数量
     */
    @Excel(name = "卡内券数量", width = 15)
    @ApiModelProperty(value = "卡内券数量")
    private Integer ticketNum;
    /**
     * 发卡次数
     */
    @Excel(name = "发卡次数", width = 15)
    @ApiModelProperty(value = "发卡次数")
    private Integer creditNumber;
    /**
     * 总价值
     */
    @ApiModelProperty(value = "总价值")
    private String totalValue;
    /**
     * 卡说明
     */
    @ApiModelProperty(value = "卡说明")
    private String cardThat;
    /**
     * 能否重复领取
     */
    @ApiModelProperty(value = "能否重复领取")
    private String canCollectAgain;
    /**
     * 是否仅限新客户领取
     */
    @ApiModelProperty(value = "是否仅限新客户领取")
    private String isNewOnly;
    /**
     * 是否给股东奖励金
     */
    @ApiModelProperty(value = "是否给股东奖励金")
    private String isRewardShareholders;
    /**
     * 股东奖励金
     */
    @ApiModelProperty(value = "股东奖励金")
    private Double shareholdersBonus;
    /**
     * 详情图
     */
    @ApiModelProperty(value = "详情图")
    private String detailsUrl;

    private String storeId;
}
